package com.wx.mall.operate;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.wx.mall")
@EnableHystrix
@ComponentScan(basePackages = {"com.wx.mall"})
public class OperateApplication {
    public static void main(String[] args) {
        SpringApplication.run(OperateApplication.class, args);
    }
}
